package com.gold.config.client;

import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties("health.config")
public class ConfigClientHealthProperties
{
    boolean enabled;
    private long timeToLive = 300000L;

    public boolean isEnabled()
    {
        return this.enabled;
    }

    public void setEnabled(boolean enabled)
    {
        this.enabled = enabled;
    }

    public long getTimeToLive()
    {
        return this.timeToLive;
    }

    public void setTimeToLive(long timeToLive)
    {
        this.timeToLive = timeToLive;
    }
}
